package org.dfzt.modules.system.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;


import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 用户登录参数设置表
 * @Author: jeecg-boot
 * @Date:   2020-06-29
 * @Version: V1.0
 */

@TableName("sys_user_config")

@ApiModel(value="sys_user_config对象", description="用户登录参数设置表")
public class SysUserConfig {

	/**id*/
	@TableId(type = IdType.UUID)
    @ApiModelProperty(value = "id")
	private Integer id;
	/**登录允许最大错误次数(次)*/
	@Excel(name = "登录允许最大错误次数(次)", width = 15)
    @ApiModelProperty(value = "登录允许最大错误次数(次)")
	private Integer loginMaxTimes;
	/**登录错误次数清零时间(分)*/
	@Excel(name = "登录错误次数清零时间(分)", width = 15)
    @ApiModelProperty(value = "登录错误次数清零时间(分)")
	private Integer clearTime;
	/**达到最大错误次数锁定时间(分)*/
	@Excel(name = "达到最大错误次数锁定时间(分)", width = 15)
    @ApiModelProperty(value = "达到最大错误次数锁定时间(分)")
	private Integer lockTime;
	/**会话超时时间(分)*/
	@Excel(name = "会话超时时间(分)", width = 15)
    @ApiModelProperty(value = "会话超时时间(分)")
	private Integer sessionOutTime;
    /**密码有效期(月)*/
    @Excel(name = "密码有效期(月)", width = 15)
    @ApiModelProperty(value = "密码有效期(月)")
    private Integer passwordValidity;
    /**密码有效期(月)*/
    @Excel(name = "最大休眠时间(月)", width = 15)
    @ApiModelProperty(value = "最大休眠时间(月)")
    private Integer maxSleepTime;
    /**密码有效期(月)*/
    @Excel(name = "未登录置为休眠时间(月)", width = 15)
    @ApiModelProperty(value = "未登录置为休眠时间(月)")
    private Integer setSleepTime;

	/**更新人*/
	@Excel(name = "更新人", width = 15)
    @ApiModelProperty(value = "更新人")
	private String updateBy;
	/**更新时间*/
	@Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
	private Date updateTime;


    public Integer getId() {
    		return id;
    }
    public void setId(Integer id) {
    		this.id = id;
    }


    public Integer getLoginMaxTimes() {
    		return loginMaxTimes;
    }
    public void setLoginMaxTimes(Integer loginMaxTimes) {
    		this.loginMaxTimes = loginMaxTimes;
    }


    public Integer getClearTime() {
    		return clearTime;
    }
    public void setClearTime(Integer clearTime) {
    		this.clearTime = clearTime;
    }


    public Integer getLockTime() {
    		return lockTime;
    }
    public void setLockTime(Integer lockTime) {
    		this.lockTime = lockTime;
    }


    public Integer getSessionOutTime() {
    		return sessionOutTime;
    }
    public void setSessionOutTime(Integer sessionOutTime) {
    		this.sessionOutTime = sessionOutTime;
    }


    public String getUpdateBy() {
    		return updateBy;
    }
    public void setUpdateBy(String updateBy) {
    		this.updateBy = updateBy;
    }


    public Date getUpdateTime() {
    		return updateTime;
    }
    public void setUpdateTime(Date updateTime) {
    		this.updateTime = updateTime;
    }

    public Integer getPasswordValidity() {
        return passwordValidity;
    }

    public void setPasswordValidity(Integer passwordValidity) {
        this.passwordValidity = passwordValidity;
    }

    public Integer getMaxSleepTime() {
        return maxSleepTime;
    }

    public void setMaxSleepTime(Integer maxSleepTime) {
        this.maxSleepTime = maxSleepTime;
    }

    public Integer getSetSleepTime() {
        return setSleepTime;
    }

    public void setSetSleepTime(Integer setSleepTime) {
        this.setSleepTime = setSleepTime;
    }
}
